package com.starview.star.compiler.cafe.compile;

/**
 * Encode the sense of a condition.
 * 
 * @author fgm
 * 
 */
public enum Sense
{
  jmpOnFail
  {
    @Override
    public Sense negate()
    {
      return jmpOnOk;
    }
  },
  jmpOnOk
  {
    @Override
    public Sense negate()
    {
      return jmpOnFail;
    }
  };

  abstract public Sense negate();
}
